package cz.semjobKB.conllx.api;

/**
 * The Interface declaring methods for iterating over text parts
 */
public interface ITextPartIterator {

	/**
	 * Checks the next text part
	 * 
	 * @param part
	 *            Text part type
	 * @return true, if the next exists
	 */
	boolean hasNext(ETextPart part);

	/**
	 * Gets the next text part
	 * 
	 * @param part
	 *            Text part type
	 * @return the next text part
	 */
	ITextPart getNext(ETextPart part);
}
